﻿<%@ Page Language="C#" MasterPageFile="~/Publish/Content.master" AutoEventWireup="true"
    CodeFile="Product.aspx.cs" Inherits="Publish_Product" Theme="Green" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphYouAreHere" runat="Server">
    Sản phẩm
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphFunction" runat="Server">
    fashion
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphPageTitle" runat="Server">
    Danh sách các sản phẩm
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphContent" runat="Server">
    <div id="navigator">
        <table cellpadding="2" align="center">
            <tr>
                <td class="caption">
                    Chọn danh mục sản phẩm:
                </td>
                <td>
                    <asp:DropDownList ID="ddlProduct" runat="server" SkinID="ddlCommon">
                    </asp:DropDownList>
                </td>
                <td>
                    <input id="btnView" type="button" runat="server" class="search" value="Xem" onserverclick="btnView_ServerClick" />
                </td>
            </tr>
        </table>
    </div>
    <asp:DataList ID="lstProduct" runat="server" CssClass="aligncenter" CellSpacing="4"
        RepeatColumns="6" ShowFooter="False" ShowHeader="False">
        <ItemTemplate>
            <%# BindProduct(DataBinder.Eval(Container.DataItem,"IDProduct").ToString()
                , DataBinder.Eval(Container.DataItem,"Title").ToString()
                , DataBinder.Eval(Container.DataItem,"Image").ToString()
                , DataBinder.Eval(Container.DataItem, "ShortText").ToString()
                , DataBinder.Eval(Container.DataItem, "Price")
                , DataBinder.Eval(Container.DataItem, "RealPrice")
                , DataBinder.Eval(Container.DataItem, "ProductType")
                                        ) %>
        </ItemTemplate>
        <ItemStyle CssClass="aligntopcenter" />
    </asp:DataList>
</asp:Content>
